<!-- 我的弹窗 -->

<template>
  <WebModal>
    <WebForm>
      <FormInput label="供应商名称" bind="supplierName" :max="20" required />

      <EasyRow>
        <FormInput label="税号" bind="taxpayerIdNum" :max="18" half />
        <FormInput label="电话" bind="telephone" half />
      </EasyRow>

      <EasyRow>
        <FormInput label="开户行" bind="bankName" half />
        <FormInput label="银行账号" bind="bankAccountNo" :max="20" half />
      </EasyRow>

      <EasyRow>
        <FormName label="联系人" bind="contactName" half required />
        <FormPhone label="联系方式" bind="contactTelephone" half required />
      </EasyRow>

      <FormTextarea label="公司地址" bind="companyAddress" :rows="2" :max="50" />

      <FormTextarea label="联系地址" bind="contactAddress" :rows="2" :max="50" />
    </WebForm>
  </WebModal>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyModal',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
